home *** CD-ROM | disk | FTP | other *** search
- ARexx Command Set for MIDI Sequencers (Preliminary)
-
- by Darius Taghavy
-
-
- The release of version 2.0 of the Amiga's OS has made ARexx
- an integral part of the system. ARexx macros are going to become a
- widespread method of tying together applications. It is important
- that every category of application support their own common nucleus of
- commands. Not only will this make usage of ARexx commands on the
- command line level more consistent, it will also allow for the
- creation of truly generic macros.
-
- Because of its specialized focus, MIDI software needs its own set of
- standard ARexx commands. The chart on the following page is the
- preliminary standard set of ARexx commands for MIDI sequencers.
- Comments and suggestions for improvements are welcome.
-
- Please direct any comments or suggestions to:
-
- Darius Taghavy
- Commodore Business Machines
- 1200 Wilson Drive
- West Chester, PA 19380
-
-
- I can also be contacted via e-mail at:
-
- darius@cbmvax.commodore.com
-
- or
-
- ...{rutgers|uunet}!cbmvax!darius
-
-
-
- THE STANDARD MIDI AREXX COMMAND SET (PRELIMINARY)
-
-
- command | para1 para2 comments
- ----------------------------------------------------------------------------
- TEMPO | n set tempo to n beats per minute
- SIGNATURE| a:b set time signature to a/b
- FRAME | 24/25/29/30 set SMPTE frame rate, 29 represents
- (1) | 30 drop frame
- ----------------------------------------------------------------------------
- START | BEAT/SMPTE/CLOCK n start playback at position n or at
- | current position if no parameters
- RECORD | BEAT/SMPTE/CLOCK n start recording at position n or at
- | current position if no parameters
- |
- STOP | stop playback/record
- |
- LOCATE | BEAT/SMPTE/CLOCK n advance clock to position n, returns
- | current position if no para2
- |
- WAIT | BEAT/SMPTE/CLOCK n causes receiver to wait for position
- | n to return message
- (2) |
- ----------------------------------------------------------------------------
- |
- OPEN | TRACK/PAT/SEQ/SONG name destructive loading (loaded data will
- | SETUP/SAMPLES/ALL overwrite data currently in memory)
- |
- SAVE | TRACK/PAT/SEQ/SONG name save data to file "name"
- | SETUP/SAMPLES/ALL
- (3) |
- ----------------------------------------------------------------------------
- |
- PRELOAD | name nondestructive loading (allocates RAM
- | and loads song "name" into RAM buffer)
- INSTALL | name REMOVEs "name" from RAM buffer and
- | INSTALLS it in playback buffer
- REMOVE | name deletes "name" from memory buffer and
- (4) | deallocates memory
- ----------------------------------------------------------------------------
- |
- ACTIVE | TRACK/PAT/SEQ UP/DOWN/k inc/dec currently active TRACK/PAT/SEQ
- | or directly activate TRACK/PAT/SEQ k
- | returns currently active TRACK/PAT/SEQ
- | if para2 is missing
- ----------------------------------------------------------------------------
-
- Notes: 1> calling TEMPO,SIGNATURE or FRAME with no parameters returns current
- values
-
- 2> format for n (START,RECORD,LOCATE and WAIT) depends on para1
- if para1= BEAT , n is bars:beats (depends on SIGNATURE)
- if para1= SMPTE, n is hours:minutes:seconds:frames (depends on FRAME)
- if para1= CLOCK, n is number of MIDI clock pulses (24 ppq)
-
- 3> SONG includes TRACK, PAT and SEQ
- ALL includes SONG, SETUP and SAMPLES
-
- 4> PRELOAD,INSTALL and REMOVE allow you to have multiple songs in RAM
- to avoid delays between songs in live performance. Dynamic memory
- allocation via OS methods allow you to queue up as many songs as
- memory permits.
-